public class Four{
    //局部内部类
    public void func(){
        class Inner{
            public int data1 = 1;
        }
        Inner inner = new Inner();
        System.out.println(inner.data1);
    }
}